﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.Business;

namespace University.Workshop.Presenters.AppointmentFolder
{
    public class PresenterSearchAppointment
    {
        ISearchAppointment view;

        public PresenterSearchAppointment(ISearchAppointment view)
        {
            this.view = view;
        }

        public ICollection<Appointment> SearchAppointment()
        {
            return AppointmentManager.SearchAppointment(view.PatientId);
        }

    }
}
